package com.cj.bus.mapper;

import com.cj.bus.entity.BusResourceEntity;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
 * <p>
 * 资源信息表 Mapper 接口
 * </p>
 *
 * @author yangh73
 * @since 2021-01-12
 */
public interface BusResourceMapper extends BaseMapper<BusResourceEntity> {

	public void addBrowseNums(@Param("resourceId")Long resourceId);

	public void addCommentNums(@Param("resourceId")Long resourceId);

	public List<BusResourceEntity> selectList(@Param("searchKey")String searchKey,@Param("types") List<Integer> types, @Param("status")String status);

	public void addStoreNums(@Param("resourceId")Long resourceId);
	
	public BusResourceEntity selectById(@Param("id")Long id);
	
}
